<admintpl file="headerEx" />
<title>{:L('ADMIN_NAVCAT_INDEX')}</title>

<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li class="active"><a href="{:U('navcat/index')}"><i class="fa fa-list-ul"></i> {:L('ADMIN_NAVCAT_INDEX')}</a></li>
								<li><a href="{:U('navcat/add')}"><i class="fa fa-plus"></i> {:L('ADMIN_NAVCAT_ADD')}</a></li>

							</ul>
						</header>
						<div class="panel-body">

							<section id="no-more-tables">
								<table class="table table-bordered table-striped table-hover table-condensed cf" id="menus-table">
									<thead class="cf">
									<tr>
										<th width="100">ID</th>
										<th>{:L('NAME')}</th>
										<th>{:L('DESCRIPTION')}</th>
										<th width="120">{:L('MAIN_NAVCAT')}</th>
										<th width="120">{:L('ACTIONS')}</th>
									</tr>
									</thead>
									<tfoot>
									<foreach name="navcats" item="vo">
										<tr>
											<td>{$vo.navcid}</td>
											<td>{$vo.name}</td>
											<td>{$vo.remark}</td>
											<td><php>$mainmenu=$vo['active']?L('YES'):L('NO');</php> {$mainmenu}</td>
											<td>

												<a href="{:U('navcat/edit',array('id'=>$vo['navcid']))}">{:L('EDIT')}</a>|
												<a href="{:U('navcat/delete',array('id'=>$vo['navcid']))}" class="js-ajax-delete">{:L('DELETE')}</a>
											</td>
										</tr>
									</foreach>
									</tfoot>
								</table>

							</section>

						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>
<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/js/ajaxForm.js"></script>

<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>

</body>
</html>